package com.dlg.user.domain.user;

import com.dlg.user.domain.basic.BasicDomain;

import java.math.BigInteger;

/**
 * 用户消息
 * 
 * @author martin_duan@yeah.net
 * @since 2017-03-23
 *
 */
public class OjUserMessage extends BasicDomain {

	private static final long serialVersionUID = 1L;

	/**
	 * 消息Id
	 */
	private BigInteger messageId;

	/**
	 * 用户Id
	 */
	private BigInteger userId;

	/**
	 * 是否阅读(0.未阅读,1.已阅读)
	 */
	private Short isRead;
	
	/**
	 * 消息类型(1.系统消息,2.活动推广,3.零工推荐)
	 */
	private Short messageType;

	public BigInteger getMessageId() {
		return messageId;
	}

	public void setMessageId(BigInteger messageId) {
		this.messageId = messageId;
	}

	public BigInteger getUserId() {
		return userId;
	}

	public void setUserId(BigInteger userId) {
		this.userId = userId;
	}

	public Short getIsRead() {
		return isRead;
	}

	public void setIsRead(Short isRead) {
		this.isRead = isRead;
	}

	public Short getMessageType() {
		return messageType;
	}

	public void setMessageType(Short messageType) {
		this.messageType = messageType;
	}
	
}
